package com.starnet.yarnmonitor.yarn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.starnet.yarnmonitor.yarn.entity.UpgradeJar;
import com.starnet.yarnmonitor.yarn.vo.result.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 陈佳豪
 * @since 2022-06-01
 */
public interface UpgradeJarService extends IService<UpgradeJar> {

    boolean uploadUpgradeJar(MultipartFile multipartFile) throws IOException;

    boolean upgradeById(Integer id) throws IOException;
}
